Skip to content

feat: use flutter_distrubutor to build linux and macos packages#7392

Merged
LucasXu0 merged 33 commits intoAppFlowy-IO:mainfrom
LucasXu0:linux_deb_and_rpm
Feb 21, 2025
Merged

feat: use flutter_distrubutor to build linux and macos packages#7392
LucasXu0 merged 33 commits intoAppFlowy-IO:mainfrom
LucasXu0:linux_deb_and_rpm

Conversation

@LucasXu0
Copy link
Collaborator

@LucasXu0 LucasXu0 commented Feb 17, 2025

Feature Preview

  • Integrate flutter_distributor
    • build .deb, .rpm, .zip and .appimage packages for Linux.
    • build .dmg, zip packages for macOS.

Linux

To build all package formats at once

./scripts/flutter_release_build/build_linux.sh --build_type all --build_arch x86_64 --version 0.8.4

To build zip package only

./scripts/flutter_release_build/build_linux.sh --build_type zip --build_arch x86_64 --version 0.8.4

To build deb package only

./scripts/flutter_release_build/build_linux.sh --build_type deb --build_arch x86_64 --version 0.8.4

To build rpm package only

./scripts/flutter_release_build/build_linux.sh --build_type rpm --build_arch x86_64 --version 0.8.4

To build appimage package only

./scripts/flutter_release_build/build_linux.sh --build_type appimage --build_arch x86_64 --version 0.8.4

macOS

To build all package formats at once

./scripts/flutter_release_build/build_macos.sh --build_type all --build_arch arm64 --version 0.8.4

To build zip package only

./scripts/flutter_release_build/build_macos.sh --build_type zip --build_arch arm64 --version 0.8.4

To build dmg package only

./scripts/flutter_release_build/build_macos.sh --build_type dmg --build_arch arm64 --version 0.8.4

The macOS script now supports codesigning the zip and dmg files and notarizing the dmg file. You can pass these arguments when building.

./scripts/flutter_release_build/build_macos.sh --build_type dmg --build_arch arm64 --version 0.8.4 --apple-id <apple-id> --team-id <team-id> --password <password>

PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

@LucasXu0 LucasXu0 force-pushed the linux_deb_and_rpm branch 2 times, most recently from fcbada9 to 60e4166 Compare February 18, 2025 08:01
@LucasXu0 LucasXu0 marked this pull request as draft February 18, 2025 08:14
@LucasXu0 LucasXu0 marked this pull request as ready for review February 19, 2025 01:40
@LucasXu0 LucasXu0 changed the title feat: use flutter_distrubutor to build linux packages feat: use flutter_distrubutor to build linux and macos packages Feb 20, 2025
@LucasXu0 LucasXu0 force-pushed the linux_deb_and_rpm branch 3 times, most recently from 91c8ac3 to 72b9c39 Compare February 20, 2025 08:52
@LucasXu0 LucasXu0 force-pushed the linux_deb_and_rpm branch 2 times, most recently from 0e1cbfc to 438d7c8 Compare February 20, 2025 11:15
@LucasXu0 LucasXu0 force-pushed the linux_deb_and_rpm branch 5 times, most recently from 3e1c8d2 to 5b46fc4 Compare February 21, 2025 06:18
@LucasXu0 LucasXu0 added v0.8.5 and removed v0.8.4 labels Feb 21, 2025
@LucasXu0 LucasXu0 merged commit 6dc45c9 into AppFlowy-IO:main Feb 21, 2025
18 checks passed
LucasXu0 added a commit that referenced this pull request Mar 5, 2025
LucasXu0 added a commit that referenced this pull request Mar 6, 2025
* Revert "feat: use flutter_distrubutor to build linux and macos packages (#7392)"

This reverts commit 6dc45c9.

* fix: linux link issue

* fix: outline doesn't work well in columns

* fix: cannot drag a block under a table that’s in the second column
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants